﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Project_KhuyenMaiVang.Models
{
    public class DonDatHangDTO
    {
        private int _MaDonDatHang;
        private int _IDAccount;
        private int _MaTinKhuyenMai;
        private int _SoLuong=1;
        private int _MaHinhThucThanhToan;
        private int _MaTinhTrangDonDatHang;
        private string _MaVoucher;
        private string _MaSoDonHang;

        public string MaSoDonHang
        {
            get { return _MaSoDonHang; }
            set { _MaSoDonHang = value; }
        }

        public string MaVoucher
        {
            get { return _MaVoucher; }
            set { _MaVoucher = value; }
        }

        public int MaTinhTrangDonDatHang
        {
            get { return _MaTinhTrangDonDatHang; }
            set { _MaTinhTrangDonDatHang = value; }
        }

        public int MaHinhThucThanhToan
        {
            get { return _MaHinhThucThanhToan; }
            set { _MaHinhThucThanhToan = value; }
        }

        public int SoLuong
        {
            get { return _SoLuong; }
            set { _SoLuong = value; }
        }

        public int MaTinKhuyenMai
        {
            get { return _MaTinKhuyenMai; }
            set { _MaTinKhuyenMai = value; }
        }

        public int IDAccount
        {
            get { return _IDAccount; }
            set { _IDAccount = value; }
        }

        public int MaDonDatHang
        {
            get { return _MaDonDatHang; }
            set { _MaDonDatHang = value; }
        }

        public DonDatHangDTO(int idAccount, int maTinKhuyenMai, int soLuong, int maHinhThucThanhToan, int maTinhTrangDonDatHang)
        {
            _IDAccount = idAccount;
            _MaTinKhuyenMai = maTinKhuyenMai;
            _SoLuong = soLuong;
            _MaHinhThucThanhToan = maHinhThucThanhToan;
            _MaTinhTrangDonDatHang = maTinhTrangDonDatHang;
        }

        public DonDatHangDTO()
        {
        }
    }
}